#include <iostream>
#include <vector>
#include <map>
int main()
{
    std::vector<int> arr = {
        1,
        2,
        3,
        4,
        5};
    int a[] = {1,
               2,
               3,
               4,
               5,
               6,
               7,
               8,
               9,
               10};
    for (auto &value : a) /*基于范围的循环*/
    {
        value++;
        std::cout << value << " ";
    }
    std::cout << std::endl;
    std::map<int, std::string> mp =
        {
            {1, "zhangsan"},
            {2, "wangwu"},
            {3, "lisi"}};
    for (auto it : mp)
    {
        std::cout << it.first << it.second << std::endl;
    }
    return 0;
}